<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
<head profile="http://gmpg.org/xfn/11">
	<title><?php the_title(); ?></title>
	<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
	<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url') ?>" />
<?php wp_head() // For plugins ?>

	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    
<!-- GEOTAGGING INFORMATION -->
<?php
	if (get_post_meta($post->ID, 'geoPlace', true)) {
		$geoplace = get_post_meta($post->ID, 'geoPlace', true);
	} else {
		$geoplace = 'SunMaxx Solar, Binghmaton, New York, United States';
	}
	if (get_post_meta($post->ID, 'geoRegion', true)) {
		$georegion = get_post_meta($post->ID, 'geoRegion', true);
	} else {
		$georegion = 'US-NY';
	}
?>

<meta name="geo.placename" content="<?=$geoplace?>">
<meta name="geo.region" content="<?=$georegion?>">
    
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" ></script>  
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" ></script>
<script type="text/javascript" src="/../wp-content/themes/SunMaxxSolar/js/rotator.js"></script>

<?php // Hide Full Sorter Button Array On All Pages But "All Cat Price List Page"
	if (! is_page('261')) { ?>
	<style>
		.plistbuttonleftside, .plistbuttonrightside, .plistbutton { display:none; }
	</style>
<?php } ?>

<?php // JQUERY FOR PRICELIST SORTER ?>



<!-- END JQUERY SORTER -->

<?php // END SCRIPTS FOR TOP OF PAGE SLIDE OUT ?>

<script type="text/javascript">
$(document).ready(function() {

	$("ul#topnav li").hover(function() { //Hover over event on list item
		$(this).css({ 'background' : '#002d55 repeat-x'}); //Add background color and image on hovered list item
		$(this).find("span").show(); //Show the subnav
	} , function() { //on hover out...
		$(this).css({ 'background' : '#e77d1d'}); //Ditch the background
		$(this).find("span").hide(); //Hide the subnav
	});

});
</script>

<?php // TECH TIPS PAGE(S) ACCORDION SCRIPT ?>

<script>
	$(document).ready(function() {
 
	//ACCORDION BUTTON ACTION	
	$('div.accordionButton').click(function() {
		$('div.accordionContent').slideUp('normal');	
		if(!$(this).next().is(':visible')){
        $(this).next().slideDown('slow');
        }
	});
 
	//HIDE THE DIVS ON PAGE LOAD	
	$("div.accordionContent").hide();
 
});
</script>

<!-- IMAGE GALLERY ACCORDIAN SCRIPT -->

<script>
	$(document).ready(function() {
 
	//ACCORDION BUTTON ACTION	
	$('div.accbutton-images').click(function() {
		$('div.acccontent-images').slideUp('normal');	
		if(!$(this).next().is(':visible')){
        $(this).next().slideDown('slow');
        }
	});
 
	//HIDE THE DIVS ON PAGE LOAD	
	$("div.acccontent-images").hide();
 
});
</script>

<!-- TARGET MARKET PAGE JAVA -->
<script>
	$(document).ready(function() {
 
	//ACCORDION BUTTON ACTION	
	$('div.marketbutton').click(function() {
		$('div.marketcontent').slideUp('normal');	
		if(!$(this).next().is(':visible')){
        $(this).next().slideDown('slow');
        }
	});
 
	//HIDE THE DIVS ON PAGE LOAD	
	$("div.marketcontent").hide();
 
});
</script>

<!-- Accordian for pricelist sorter -->
<script>
	$(document).ready(function() {
 
	//ACCORDION BUTTON ACTION	
	$('div.plistbutton').click(function() {
		$('div.plistcontent').slideUp('normal');	
		if(!$(this).next().is(':visible')){
        $(this).next().slideDown('slow');
        }
	});
 
	//HIDE THE DIVS ON PAGE LOAD	
	$("div.plistcontent").hide();
 
});
</script>

    <!-- DOCUMENT PAGE JAVA -->
	<script>
		$(document).ready(function() {
 
		//ACCORDION BUTTON ACTION	
		$('div.doccenterbutton').click(function() {
			$('div.doccentercontent').slideUp('normal');	
			if(!$(this).next().is(':visible')){
			$(this).next().slideDown('slow');
        }
	});
 
		//HIDE THE DIVS ON PAGE LOAD	
		$("div.doccentercontent").hide();
	});
</script>

<link href="/../wp-content/themes/SunMaxxSolar/css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/../wp-content/themes/SunMaxxSolar/css/dropdown/themes/default/default.css" media="screen" rel="stylesheet" type="text/css" />

<!--[if lt IE 7]>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
<![endif]-->


<!-- JAVA FOR TABLE SORTER -->
<script type="text/javascript" src="/../wp-content/themes/SunMaxxSolar/js/picnet.table.filter.min.js"></script>

<!-- STUFF FOR CHARTS -->
    <?php if(is_page(array(40,56,214)) ) include 'chartextras.php' ; ?>
<!-- END STUFF FOR CHARTS -->

<script>
function allowSend() { 
    return window.confirm("Your Form Has Been Received! Thank You!"); 
}
</script>

<script>jQuery(function($){
	$('select[name="base_cust_type"]').change(function(){
		//set text of hidden field for email template purposes

		if ($(this).val() == 'Residential') {
			$('#staff_userid').val('5031');
			$('#customer_sales_rep').val('MikeM');
		} else if ($(this).val() == 'Commercial') {
			$('#staff_userid').val('5097');
			$('#customer_sales_rep').val('PhilM');
                }
	});
});</script>

<script type='text/javascript' src='/../wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js?ver=3.5'></script>

<!--Start of Zopim Live Chat Script-->
<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
$.src='//cdn.zopim.com/?48jisasVaoGC8fr4ZEsaymfhhduTHyK0';z.t=+new Date;$.
type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
</script>
<!--End of Zopim Live Chat Script-->

</head>

<!-- BEGIN FACEBOOK COMMENTS BLOCK STARTER CODE -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=111225552294343";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- END FACEBOOK COMMENTS BLOCK STARTER CODE -->

<!-- BEGIN FACEBOOK HEADER LIKE BUTTON -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- END FACEBOOK HEADER LIKE BUTTON -->

<body class="<?php sandbox_body_class() ?>">

<?php //
// <div style="min-width: 1040px; max-width: 3000px; height: 40px; margin-left: -8px; margin-right: -8px; margin-top: -8px; margin-bottom: 10px; background-color: #F00; line-height: 40px; text-align: center; font-family: tahoma; font-size: 18px; color: #ffffff;">
// 	Due To Inclement Weather In Upstate NY Surrounding Our Offices We Will Be Closed For The Coming Days!
// </div>
?>

<!-- REMOVED - 6/2012
<div id="wrapper-top">
<?php // include('special-top-nav.php'); ?>
</div>
-->

<div id="wrapper">

	<div id="header">
    	<div id="header-left">
        	<h1><a href="http://www.sunmaxxsolar.com">Fabricantes de Agua Caliente y Calefacci&#243;n Solar</a></h1>
            <div style="width: 683px; height: 10px; clear: both;"></div>
            <img src="/wp-content/themes/SunMaxxSolar/images/esp-header-left-bg.jpg" width="683" height="120"  />
            
        </div>
        <div id="header-right">
		<div class="headerlinks" style="width:100%;height:30px;line-height:30px;font-size:12px;">
			<a href="/../">English</a> | <a href="/../calentadores-solares.php">Espa&#241;ol</a>
		</div>
        	<div id="header-right-1">
            	<!--<div id="fb-root" class="fb-like" data-href="http://www.facebook.com/sunmaxxsolar" data-send="true" data-layout="button_count" data-width="100" data-show-faces="false" style="float:left;margin:0px;"></div>-->
            	<a href="/../sunmaxx-solar-thermal-installer-admin-section.php" target="_blank">Contratistas Ingresar</a> | <a href="/../solar-hot-water-information-center.php">Documentos y Lista de Precios</a>
            </div>
            <div id="header-right-2"> 
       		  <a href="/../about-sunmaxx-solar.php">Acerca de Nosotros</a> | <a href="/../contact-sunmaxx.php">Cont&#225;ctenos</a>
            | <strong><a href="/../sunmaxx-solar-customer-satisfaction-guaranteed.php">Comentarios</a></strong> | <a href="/../careers-with-sunmaxx-solar.php">Empleo</a></div>
          <div id="header-right-3">
            	Ll&#225;menos Hoy: 1.877.786.6299
          </div>
          <div id="header-right-4">
          		<div id="hr4-img">
                	<img src="/wp-content/themes/SunMaxxSolar/images/madeintheusa.jpg" alt="SunMaxx Solar Thermal Systems Are Proudly Made In The USA" />
                </div>
                <div id="hr4-login">
			<?php ccf_show(); ?>
                </div>
          </div>
        </div>
        <div id="main-nav-horizontal">
       		<?php include ('esp-header-navigation.php'); ?>
            <div id="main-nav-horizontal-search" style="padding-right: 10px;">
            	<form id="searchform" class="blog-search" method="get" action="http://www.sunmaxxsolar.com">
    				<div>
						<input id="s" name="s" type="text" class="text" value="" size="10" tabindex="1" />
						<input type="submit" class="button" value="Buscar" tabindex="2" />
					</div>
				</form>
            </div>
        </div>
        
        <div id="banner">
        
            <?php
				if (is_page(14299)) {
					include ('esp-home-banner.php');
				} elseif (is_page(array(14301,14341))) {
					include ('esp-market-banner.php');
				// } elseif ((wpsc_is_single_product()) || ($post->post_parent == '7373')) {
				//	include ('page-banner-store.php');
				} else {
					include ('page-banner.php');
				}
			?>
            
        </div>
        
        <div style="width: 1000px; height: 0px; clear: both;"></div>
        
	</div>
    
    <div style="width: 1000px; height: 0px; clear: both;"></div>